import request from '@/utils/request.js'
export function queryWhisper(data) {
    return request({
        url: '/whisper/queryVo',
        method: 'get',
        params: data
    })
}
export function selWhisper(data) {
    return request({
        url: '/whisper/'+data,
        method: 'get',
    })
}
export function delWhisper(data) {
    return request({
        url: '/whisper/'+data,
        method: 'delete',
    })
}
export function addWhisper(data) {
    return request({
        url: '/whisper/add',
        method: 'post',
        data:data
    })
}
export function editWhisper(data) {
    return request({
        url: '/whisper/edit',
        method: 'put',
        data:data
    })
}
export function deleteImage(data) {
    return request({
        url: '/whisper/deleteImage/'+data,
        method: 'delete',
        data:data
    })
}
